if (window['qg']) {
    var sdk = window['qg'];
    let sys = sdk.getSystemInfoSync()
    console.log(' sys ------------', sys.brand)
    var pname = sys.brand.toLowerCase()
    if (pname == 'oppo') {
        class Parser {
            constructor() {
                this._sdk = sdk
            }

            parse() {
                this._sdk.showImage = function (_tempFilePath) {
                    this._sdk.previewImage(_tempFilePath)
                }
            }
        }
        new Parser().parse();
    }
}